package com.mspbots.api.service;

import com.mspbots.cw.request.TenantTeamsUserDTO;

import java.util.List;
import java.util.Map;

/**
 * com.mspbots.api.service.TenantTeamsUserService
 *
 * @author Jun Zhou
 * @date 12:19 2019/7/3
 **/
@Deprecated
public interface TeamsUserService {

    /**
     * get user from teams api
     * url : {}/graph/user
     *
     * @return java.util.List<com.mspbots.cw.request.TenantTeamsUserDTO>
     * @author Jun Zhou
     * @date 14:45 2019/7/3
     **/
    List<TenantTeamsUserDTO> addBatch(List<TenantTeamsUserDTO> tenantUsers);

    /**
     * query teams user
     *
     * @param params query in params
     * @return
     */
    List<TenantTeamsUserDTO> selectList(Map<String, Object> params);

    List<TenantTeamsUserDTO> selectByTenant(Long tenantId);

    TenantTeamsUserDTO insert(TenantTeamsUserDTO tenantTeamsUserDTO);
}
